summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-21 09:45:49 +0200
committerGitHub <noreply@github.com>2022-10-21 09:45:49 +0200
commit49682a0481946f3a9e4938cb795e4f89f03dd241 (patch)
treee525a230d5384155a9404e4bc301eadcd925442a
parentMerge pull request #9109 from lioncash/session (diff)
parentformat_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT (diff)
downloadyuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar.gz
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar.bz2
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar.lz
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar.xz
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.tar.zst
yuzu-49682a0481946f3a9e4938cb795e4f89f03dd241.zip
-rw-r--r--src/video_core/texture_cache/format_lookup_table.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp
index ad935d386..08aa8ca33 100644
--- a/src/video_core/texture_cache/format_lookup_table.cpp
+++ b/src/video_core/texture_cache/format_lookup_table.cpp
@@ -150,6 +150,8 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red,
return PixelFormat::D24_UNORM_S8_UINT;
case Hash(TextureFormat::D32S8, FLOAT, UINT, UNORM, UNORM, LINEAR):
return PixelFormat::D32_FLOAT_S8_UINT;
+ case Hash(TextureFormat::R32_B24G8, FLOAT, UINT, UNORM, UNORM, LINEAR):
+ return PixelFormat::D32_FLOAT_S8_UINT;
case Hash(TextureFormat::BC1_RGBA, UNORM, LINEAR):
return PixelFormat::BC1_RGBA_UNORM;
case Hash(TextureFormat::BC1_RGBA, UNORM, SRGB):